<?php

use App\Http\Controllers\DemoController;
use Illuminate\Support\Facades\Route;

Route::group(['middleware' => ['signature']], function () {
    Route::prefix('demo')->group(function () {
        Route::post('paging', [DemoController::class, 'paging'])->name('demo.paging');
        Route::post('add', [DemoController::class, 'add'])->name('demo.add');
        Route::post('edit', [DemoController::class, 'edit'])->name('demo.edit');
        Route::post('detail', [DemoController::class, 'detail'])->name('demo.detail');
        Route::post('delete', [DemoController::class, 'delete'])->name('demo.delete');
    });
});
